package br.ufmg.dcc.vod.remoteworkers.async;

import br.ufmg.dcc.vod.remoteworkers.CommandError;

public interface RMIExceptionListener {

	public <T, I> void rmiExceptionOcurredOnCmdResponse(QueueBasedAsyncRemoteProcessor queueBasedAsyncRemoteProcessor,	CommandInterested<T, I> interested, String location, I id, T process);
	
	public <T, I> void rmiExceptionOcurredOnCmdError(QueueBasedAsyncRemoteProcessor queueBasedAsyncRemoteProcessor, CommandInterested<T, I> interested, String location, I id, CommandError error);
	
}
